* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

p {
    color: grey
}

#heading {
    text-transform: uppercase;
    color: #0066FF;
    font-weight: normal
}

#msform {
    text-align: center;
    position: relative;
    /*margin-top: 20px*/
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

.form-card {
    text-align: left
}

#msform fieldset:not(:first-of-type) {
    display: none
}

#msform input,
#msform textarea {
    padding: 8px 15px 8px 15px;
    border: 1px solid #ccc;
    /*border-radius: 0px;*/
    margin-bottom: 25px;
    /*margin-top: 2px;*/
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    /*background-color: #ECEFF1;*/
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 5px;
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #0066FF!important;
    outline-width: 0
}

#msform .action-button {
    width: 160px;
    background: #0066FF;
    font-weight: bold;
    color: white;
    border: 0 none;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 35px 10px 5px;
    float: right;
    border-radius: 25px!important;
    height: 40px;
    line-height: 20px;


}

#msform .action-button:hover,
#msform .action-button:focus {
    background-color: #311B92
}

#msform .action-button-previous {
    width: 160px;
    background: #C0C7D0;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px!important;
    height: 40px;
    line-height: 20px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    background-color: #0066FF
}

.card {
    z-index: 0;
    border: none;
    position: relative
}

.fs-title {
    font-size: 25px;
    color: #0066FF;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: left
}

.purple-text {
    color: #0066FF;
    font-weight: normal
}

.steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right
}

.fieldlabels {
    color: gray;
    text-align: left
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

#progressbar .active {
    color: #0066FF!important;
}
.select-box .options-container.active {
    width: 95%;
}
#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 20%;
    float: left;
    position: relative;
    font-weight: 400
}

#progressbar #account:before {
    font-family: FontAwesome;
    content: "1"
}

#progressbar #personal:before {
    font-family: FontAwesome;
    content: "2"
}

#progressbar #payment:before {
    font-family: FontAwesome;
    content: "3"
}
#progressbar #info:before {
    font-family: FontAwesome;
    content: "4"
}

#progressbar #confirm:before {
    font-family: FontAwesome;
    content: "5"
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #0066FF
}

.progress {
    height: 20px
}

.progress-bar {
    background-color: #0066FF
}

.fit-image {
    width: 100%;
    object-fit: cover
}

/********switch post ***************/
.switch-field {
    display: flex;
    /*margin-bottom: 36px;*/
    overflow: hidden;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field .gray-label {
    width: 100%;
    background-color: rgb(192, 199, 208);
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    /*margin-right: -1px;*/
    border: 1px solid #C4C4C4;
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
    /*box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);*/
    transition: all 0.1s ease-in-out;

    /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);*/
    border-radius: 5px;
}


.switch-field .gray-label_s {
    width: 100%;
    background-color: rgb(192, 199, 208);
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    /*margin-right: -1px;*/
    border: 1px solid #C4C4C4;
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
    /*box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);*/
    transition: all 0.1s ease-in-out;

    /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);*/
    border-radius: 5px;
}


.switch-field label {
    width: 100%;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    /*margin-right: -1px;*/
    border: 1px solid #C4C4C4;
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
    /*box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);*/
    transition: all 0.1s ease-in-out;

    /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);*/
    border-radius: 5px;
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked + label {
    background-color: #0066FF;
    /*box-shadow: none;*/
    color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0.25, 0.55, 0.25);

    /*border-radius: 5px;*/
}

.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

.mybtn{
    border-radius: 15px!important;
}
#add-post-container{
    min-height: calc(100vh - 149px);
}
#post_bimg{
    height: max-content!important;
    /*background: none;*/
}
#post_bimg:hover #file-ip-1-preview{
    opacity: 0.4;
}
#post_imge{
    height: max-content!important;
    /*background: none;*/
}
#post_imge:hover #user_post_image{
    opacity: 0.4;
}
#the_post_block, #the_cat_block{

    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    margin-top: 10px;
    border-radius: 10px;
}
#the_cat_block{
    min-height: 50vh;
    max-width: 796px;
}
#p_OnOfLine{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.bootstrap-tagsinput input{
    border: 1px solid #ccc !important;
}

.sub_cat{
    display: none;
}
.main_cat>li>div:not(.back_btn){
    display: flex;
    align-items: center;
}
.main_cat>li>div>span,
.sub_cat>li{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.cat_div_mob .main_cat>li:not(.active),
.cat_div_mob .sub_cat>li {
    text-align: left;
    padding: 3px 15px;
    box-shadow: 0 0 2px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.cat_div_desk .sub_cat{
    position: absolute;
    top: 0;
    left: 100%;
}

.cat_div_desk .main_cat>li:hover .sub_cat{
    display: block;
    border-left: 2px solid;
}

.cat_div_desk .sub_cat{
    position: absolute;
    min-height: 100%;
    background-color: #fff;
    max-width: 350px;
    width: 100%;
    top: 0;
    left: 100%;
}

.cat_div_desk li{
    text-align: left;
    padding: 3px 15px;
}

.cat_div_desk .main_cat>li:hover{
    background-color: #699eee;
    color: whitesmoke;
}
.cat_div_desk .sub_cat>li:hover{
    background-color: #8cb9f8;
    color: white;
}
.addpost_body{
    color: #2093d5;
}
.cat_div_desk .sub_cat li{
    color: #2093d5;
}



.cat_div_desk .main_cat{
    max-width: 350px;
    width: 100%;
    min-height: 40vh;
}
.cat_div_desk .sub_cat{
    height: 100%;
    overflow-y: auto;
    position: absolute;
    top: 0;
    right: 0;
}

.back_btn{
    border-radius: 8px;
    background-color: #0066FF;
    color: whitesmoke;
    align-items: center;
    display: none;
    margin-bottom: 5px;
    padding: 4px 8px;
}




/*TAG**********/
